package cn.wolfode.wolf2w.cloud.commom.exception;




public class BusinessException extends RuntimeException {
   private  CodeMsg codeMsg;
    //此处用继承避免导入依赖
    public BusinessException(CodeMsg codeMsg){
        this.codeMsg = codeMsg;
    }

    public CodeMsg getCodeMsg() {
        return codeMsg;
    }

    public void setCodeMsg(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }
}